home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 8
/
Aminet 8 (1995)(GTI - Schatztruhe)[!][Oct 1995].iso
/
Aminet
/
util
/
libs
/
ExpName14.lha
/
ExpName
/
expname.doc
next >
Wrap
Text File
|
1995-07-10
|
2KB
|
48 lines
TABLE OF CONTENTS
expname.library/GetExpName
expname.library/GetExpName expname.library/GetExpName
NAME
GetExpName - get name of expansion board
SYNOPSIS
Success = GetExpName(ManufName,ProdName,ConfigDev,Manufacturer,Product)
D0.l A0.l A1.l A2.l D0.w D1.b
ULONG GetExpName(STRPTR,STRPTR,struct ConfigDev*,UWORD,UBYTE);
FUNCTION
Gets the name of the expansion.
INPUTS
ManufName -- String to be filled with the manufacturer name. Must
be at least 50 chars long.
ProdName -- String to be filled with the product name. Must be
at least 50 chars long.
ConfigDev -- Pointer to ConfigDev structure (from expansion.library)
or NULL.
Manufacturer -- ID of the board's manufacturer, if ConfigDev is NULL.
Product -- ID of the board's product number (depends on manufactu-
rer), if ConfigDev is NULL.
RESULT
Success -- True if both manufacturer and product are known. False
if one of them are not known.
NOTE
If the manufacturer or the product is not known, the string will be
filled with its number. I.e. it is NOT a real fault if this function
fails; the strings can be used in any case...
This call is guaranteed to preserve all registers except D0.
BUGS
There are by far not all existing boards implemented. Please send
me the manufacturer id and name and the products id and name of all
unknown boards. E-Mail: "shred@tfh.dssd.sub.org".
SEE ALSO